<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<title>MYWAY AIRLINE</title>
		<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="/css/minimal/blue.css" />
		<link rel="stylesheet" type="text/css" href="/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="/css/login.css"/>

	</head>
	<body>
	<div class="header col-lg-12 col-md-12 clearfix">
		<div class="container">
			<img src="/img/loginlogo.png" alt="" />
		</div>
	</div>
	<div class="main col-lg-12 col-md-12 clearfix loginMain">
		<div class="container">
			<div class="outerBox loginBox">
				<div>
					<div class="loginTit col-lg-12 col-md-12">
						<span class="col-lg-6 col-md-6 sel">会员登录</span>
						<span class="col-lg-6 col-md-6">手机验证码登陆</span>
					</div>
					<div class="formBox">
						<form action="/member/membLogin" class="show">
							<div class="member col-lg-12 col-md-12 ">
								<div class="input-group">
									<div class="input-group-addon">用户名:</div>
									<input type="text" class="form-control" name="membPhoneNum">
								</div>
								<div class="input-group">
									<div class="input-group-addon">密&emsp;码:</div>
									<input type="text" class="form-control" name="membPwd">
								</div>
								<div class="clearfix"><button class="classicButton">登陆</button></div>
								<div class="clearfix"><a href="#none">忘记密码</a><a href="/registered">立即注册</a></div>
							</div>
						</form>
						<form action="/user/phoneLogin">
							<div class="phone col-lg-12 col-md-12">
								<div class="input-group">
								      <div class="input-group-addon">手机号:</div>
								      <input type="text" class="form-control" name="phoneNumber" id="PhoneNumber">
								</div>	
							    <div class="col-lg-12 col-md-12 no-padding">
								    <div class="col-lg-7 col-md-7 no-padding">
								    	<div class="input-group">
									      	<div class="input-group-addon" >验证码:</div>
									      	<input type="text" class="form-control" name="code">
								    	</div >
								    </div>
								    <div class="col-lg-5 col-md-5 no-padding">
										<a class="classicButton unavailable" onclick="getCode()">获取验证码</a>
								    </div>
							    </div>
							    <div class="clearfix"><button class="classicButton">登陆</button></div>
							    <div class="clearfix"><a href="#none"></a><a href="/registered">立即注册</a></div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<footer>
		<div class="footer_copyright">
			<div class="container">
				© Copyright  2017 MyWay Airlines Inc.All Rights Reserved
			</div>
		</div>
	</footer>	
	</body>
	<script src="/js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/cityselect.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/laydate.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/icheck.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/common.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="/js/login.js"></script>

	<script type="text/javascript">
        $('.loginBox span').on('click',function(){
            $(this).addClass('sel').siblings().removeClass('sel');
            let $index=$(this).index();
            $('.formBox>form').eq($index).addClass('show').siblings().removeClass('show');
        });
	</script>
</html>